home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr40 / x1j4_src.zip / TNL4V.H < prev    next >
Text File  |  1995-01-20  |  3KB  |  77 lines

  1. /*****************************************************************************/
  2. /*                                              */
  3. /*                                         */
  4. /*    *****              *****                      */
  5. /*     *****            *****                         */
  6. /*       *****          *****                         */
  7. /*         *****        *****                         */
  8. /*  ***************      ***************                     */
  9. /*  *****************    *****************                     */
  10. /*  ***************      ***************                     */
  11. /*         *****        *****       TheNet                    */
  12. /*       *****          *****       Portable. Compatible.         */
  13. /*     *****            *****       Public Domain             */
  14. /*    *****              *****    NORD><LINK                  */
  15. /*                                         */
  16. /* This software is public domain ONLY for non commercial use                */
  17. /*                                                                           */
  18. /*                                         */
  19. /*****************************************************************************/
  20.  
  21. /*** Variable fuer Level 4                           ***/
  22. /*
  23.  * G8KBB April 91 - change definitions to 'external' to put them in RAM
  24.  */
  25.  
  26. /*
  27.  * Released as TheNet X-1J, September 1993
  28.  *
  29.  * Released as TheNet X-1J release 4, January 1995
  30.  */
  31.  
  32. EXTERN char    l4hdr0;            /* Level4 Header, Byte 1         */
  33. EXTERN char    l4hdr1;            /* Level4 Header, Byte 2         */
  34. EXTERN char    l4hdr2;            /* Level4 Header, Byte 3         */
  35. EXTERN char    l4hdr3;            /* Level4 Header, Byte 4         */
  36. EXTERN char    l4opco;            /* Level4 Opcode, Flags             */
  37. EXTERN char    l4pidx;            /* Level4 Antwort, Partnerindex         */
  38. EXTERN char    l4pcid;            /* Level4 Antwort, Partner-ID         */
  39. EXTERN char    l4ahd2;            /* Level4 Antwort, Byte 2         */
  40. EXTERN char    l4ahd3;            /* Level4 Antwort, Byte 3         */
  41. EXTERN char    l4aopc;            /* Level4 Antwort, Opcode         */
  42. EXTERN unsigned    tratou;            /* Level3 Timeout             */
  43. EXTERN unsigned tratri;            /* Level3 Versuche             */
  44. EXTERN unsigned traack;            /* Level3 ACK Verzoegerung         */
  45. EXTERN unsigned trabsy;            /* Level3 Busy Wartezeit         */
  46. EXTERN unsigned trawir;            /* Level3 vorgeschlagene Fenstergr.  */
  47. EXTERN lhtyp    l4rxfl;            /* fuer Level4 eingegangene Frames   */
  48.  
  49. /* The following do not belong here anymore - move them sometime
  50.  */
  51.  
  52. #ifdef CWID
  53. EXTERN unsigned cwidtm;            /* CWID counter for bcasts           */
  54. EXTERN unsigned cwiden;            /* cwid enable / bcast period        */
  55. EXTERN unsigned cwspeed;        /* cwid speed control, in clock ticks*/
  56. EXTERN signed char cwstate;        /* finite state machine of keyer     */
  57. EXTERN unsigned char cwtimr;        /* cwid bit timer, in clock ticks    */
  58. EXTERN unsigned char cwbit;        /* bit counter within CWID character */
  59. EXTERN unsigned char cwofs;        /* pointer into the cwdat array      */
  60. EXTERN unsigned char cwch;        /* current character data            */
  61. EXTERN unsigned char cwdat[CWIDLEN+1];    /* array of data to be sent          */
  62. #endif
  63.  
  64. #ifdef MONITORCMD
  65. EXTERN unsigned heardtm;        /* counts the hours for list cleanup */
  66. EXTERN unsigned uptime;            /* time in hours since warmstart     */
  67. EXTERN unsigned runtime;        /* time in hours since coldstart     */
  68. extern MHEARD *mhptr;
  69. #endif
  70.  
  71. #ifdef STATSCMD
  72. EXTERN unsigned char usehour;
  73. EXTERN unsigned l4stats[NUML4STATS][2];
  74. #endif
  75.  
  76. /*** Ende dnl4v.c                                 */
  77.